{
    'includes' : [
        '../WebKit.gypi'
        ],
    'targets' : [
        {
            'target_name'  : 'WebKit',
            'type'         : 'static_library',
            'msvs_guid' : '9A334014-7543-47BF-95C9-000000000004',
            'dependencies' : [ 
                'WebCore',
                'JavaScriptCore',
                'WTF',
                ],
            'defines'      : [ 'BUILDING_WEBKIT' ],
            'include_dirs' : [
                '../manx',
                '../manx/Acagi',
                '../manx/Sigre',
                '../manx/TiledBuffer',
                '../manx/WebCoreSupport',
                '../manx/src',
                '../manx/webkit',
                '../../WebKit2/UIProcess/InspectorServer',
                '<(PRODUCT_DIR)/DerivedSources/WebKit2/include',
                ],
            'sources'      : [ '<@(webkit_files)' ],
            'conditions' : [
                [ 'enable_device_orientation==1' , {
                        'sources' : [
                            '../manx/WebCoreSupport/DeviceMotionClientManx.cpp',
                            '../manx/WebCoreSupport/DeviceMotionClientManx.h',
                            '../manx/WebCoreSupport/DeviceOrientationClientManx.cpp',
                            '../manx/WebCoreSupport/DeviceOrientationClientManx.h',
                            ],
                        }],
                [ 'enable_geolocation==1' , {
                        'sources' : [
                            '../manx/WebCoreSupport/GeolocationClientManx.cpp',
                            '../manx/WebCoreSupport/GeolocationClientManx.h',
                            ],
                        }],
                ['OS=="win"', {
                        'type' : 'shared_library',
                        'libraries' : [
                            '-lWTF.lib',
                            '-lJavaScriptCore.lib',
                            '-lWebCore.lib',
                            '-lWebCoreDerived.lib',
                            '-lWebCoreDom.lib',
                            '-lWebCoreHtml.lib',
                            '-lWebCoreSvg.lib',
                            '-llibmanx.lib',
                            '-lSQLite3.lib',
                            '-lcairo.lib',
                            '-lfreetype.lib',
                            '-llibcurl_imp.lib',
                            '-llibicuin.lib',
                            '-llibicuuc.lib',
                            '-llibpng.lib',
                            '-llibxml2.lib',
                            '-llibxslt.lib',
                            '-lpthread.lib',
                            '-lzdll.lib',
                            '-llibjpeg.lib',
                            '-lShlwapi.lib',
                            '-lWinmm.lib',
                            '-lWs2_32.lib',
                            ],
                        }],
                ],
            }
        ]
    }
